print('\033[033m 姓名: 袁兆华 学号: 20190751028 \033[m')
from random import randint
lst = []
for i in range(1,61):
    n = randint(60,100)
    lst.append(n)
print(lst)
print(len(lst))
count_dict = {}
for i in lst:
    count_dict[i] = lst.count(i)
print(count_dict)

print(2)
sum=0
a=[1,1]
for i in range(2,22):
    num=(a[i-1]+a[i-2])
    if num>=30000:
        break
    else:
        a.append(num)
sum+=num
print("斐波那契数列为：")
for i in range(20):
 print(a[i],end=" ")
print("\n")
print("斐波那契数列和为：",sum)
print("姓名：王滟   学号:20190751008")


